# $Id: PKGBUILD 56411 2011-10-07 09:50:54Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-datetime-set
pkgver=0.31
pkgrel=1
pkgdesc="Datetime sets and set math"
arch=(any)
url="http://search.cpan.org/dist/DateTime-Set"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0' 'perl-set-infinite>=0.59' 'perl-datetime>=0.12')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/F/FG/FGLOCK/DateTime-Set-$pkgver.tar.gz)
md5sums=('ab14a78a4912f14312ec44f356f63ea0')

build() {
  cd  $srcdir/DateTime-Set-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
